package com.nation.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;

/**
 * Created by YeziAny on 2017/11/25.
 */
@Entity
@Table(name = "T_important_literature_data", schema = "show_nation", catalog = "")
public class TImportantLiteratureData implements Serializable {
    private int id;
    private String country_code;
    private int document_type;
    private String document;
    private String document_source;
    private String document_code;
    private String recoder_id;
    private String recoder_time;

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "country_code", nullable = false, length = 4)
    public String getCountryCode() {
        return country_code;
    }

    public void setCountryCode(String country_code) {
        this.country_code = country_code;
    }

    @Basic
    @Column(name = "document_type", nullable = false)
    public int getDocumentType() {
        return document_type;
    }

    public void setDocumentType(int documentType) {
        this.document_type = documentType;
    }

    @Basic
    @Column(name = "document", nullable = false, length = 255)
    public String getDocument() {
        return document;
    }

    public void setDocument(String document) {
        this.document = document;
    }

    @Basic
    @Column(name = "document_source", nullable = false, length = 255)
    public String getDocumentSource() {
        return document_source;
    }

    public void setDocumentSource(String documentSource) {
        this.document_source = documentSource;
    }

    @Basic
    @Column(name = "document_code", nullable = false, length = 7)
    public String getDocumentCode() {
        return document_code;
    }

    public void setDocumentCode(String documentCode) {
        this.document_code = documentCode;
    }

    @Basic
    @Column(name = "recoder_id", nullable = false, length = 3)
    public String getRecoderId() {
        return recoder_id;
    }

    public void setRecoderId(String recoderId) {
        this.recoder_id = recoderId;
    }

    @Basic
    @Column(name = "recoder_time", nullable = false)
    public String getRecoderTime() {
        return recoder_time;
    }

    public void setRecoderTime(String recoderTime) {
        this.recoder_time = recoderTime;
    }

}
